package edu.hitsz.aircraftfactory;

import edu.hitsz.aircraft.AbstractEnemy;
import edu.hitsz.aircraft.EliteEnemy;
import edu.hitsz.application.Game;
import edu.hitsz.application.ImageManager;
import edu.hitsz.application.Main;

public class EliteFactory implements AircraftFactory {
    @Override
    public AbstractEnemy createAircraft() {
        return new EliteEnemy(
                (int) ( Math.random() * (Main.WINDOW_WIDTH - ImageManager.ELITE_ENEMY_IMAGE.getWidth()))*1,
                (int) (Math.random() * Main.WINDOW_HEIGHT * 0.2)*1,
                (int)(Math.random()*6) * 1,
                5,
                (int)(30 * Game.magnification),
                1,
                (int)(10 * Game.magnification),
                1
        );
    }
}
